package com.google.fbyoutube.client;

import com.google.fbyoutube.client.page.Home;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class YouTube implements EntryPoint {

	private static Home appGUI = new Home();
	
	/**
	 * Getter of application singleton
	 * @return
	 */
	public static final Home getAppGUI() {
		return appGUI;
	}

	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		
		RootPanel.get().add(appGUI);
	}
}
